package com.eBook.dao;

import java.util.Map;

import com.eBook.entity.User;

public interface UserDao {
	public User findUserByAccount(User user);
	public User findUserById(int id);
	
	public int addUser(User user);
	public int updateBonus(Map<String, Integer> userBonus);
	public int updateVipCount(Map<String, String> userVip);	
	public int updateCount(Map<String, String> userCount);	
}
